home *** CD-ROM | disk | FTP | other *** search
/ Scene Storm / Scene Storm - Volume 1.iso / coding / c / amiexpress / source / ae / code / ax3.00 / check_abort.c < prev    next >
Encoding:
C/C++ Source or Header  |  1980-01-03  |  467 b   |  28 lines

  1. #include "bbs.h"
  2.  
  3. static int CheckZSMsg(void)
  4. {
  5. ULONG class;
  6. extern struct IntuiMessage *ZSMsg;
  7.  
  8. if(!ICON) {
  9.      ZSMsg=(struct IntuiMessage *)GetMsg(ZmodemStatsWin->UserPort);
  10.        if(ZSMsg) {
  11.          class=ZSMsg->Class;
  12.             ReplyMsg((struct Message *)ZSMsg);
  13.             if(class==CLOSEWINDOW)            return(TRUE);
  14.         }
  15.     }
  16. return(FALSE);
  17. }
  18.  
  19. int check_abort(void)
  20. {
  21.  CheckIconifyMsg();
  22. //(JOE) added this --v
  23.         CheckDoorMsg(0);
  24.  if(KEYIN)    return(CheckZSMsg());
  25. return(FALSE);
  26. }
  27.  
  28.